package com.huike.service;

import com.github.pagehelper.PageInfo;
import com.huike.entity.Department;

import java.util.List;

public interface DepartmentService {
    List<Department> getAll();

    PageInfo<Department> getPage(int currentPage,int pagesize);

    int addDept(Department department);

    int saveOrUpdate(Department department);

    int deleteDept(Integer id);
}
